package cn.labbook.bluetooth.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class payView implements Serializable {
    private static final long serialVersionUID = 1L;

    private String ammeterId;

    private String adminId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String location;

    private String status;

    private Double rechargeAmount;

    private Double amount;

    private Double balance;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date readingTime;

    private Integer serverStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date serverTime;

    private Integer tryStatus;

    private Integer oweStatus;

    private Integer switchStatus;

    private String userId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date activateTime;

    private Integer payType;

    private Double payPrice;


    private String managerId;

    private Double electricity;

    private Integer valve;

    private Integer tenantPayId;

    private String openId;

    private Double payAmouont;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date payTime;

    private Integer payStatus;

}